package tcln.sors.model.core.dom;

import java.io.Serializable;

/**
 * Interface for an entity supporting names (name, description...).
 * 
 * @param <ID>
 *            Identity type.
 * @author Truong Chau Lien Ngoc (lienngoc@gmail.com)
 */
public interface NamedEntity<ID extends Serializable> extends Entity<ID> {

    /**
     * Returns the display name of this entity.
     * 
     * @return
     */
    String getName();

    /**
     * Returns the description of this entity.
     * 
     * @return
     */
    String getDescription();
}
